package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itheima.reggie.domain.Dish;
import com.itheima.reggie.domain.Setmeal;
import com.itheima.reggie.domain.SetmealDish;


import java.util.List;

//套餐
public interface SetmealService {
	
	Page<Setmeal> findByPage(String name, Integer pageNum, Integer pageSize);
	
	void save(Setmeal setmeal);
	
	void deleteByIds(Long[] ids);
	
	Setmeal findById(String id);
	
	void update(Setmeal setmeal);
	
	void batchStopAndStart(Integer status, List<String> ids);
	
	List<Setmeal> findByCategoryId(Long categoryId, Integer status);
	
	List<SetmealDish> findSetmealDish(String id);
}
